package com.getword.service;

import com.getword.domain.Grade;
import com.getword.web.model.Result;
import org.springframework.cache.annotation.Cacheable;

public interface GradeService {
    /**
     * 添加年级
     */
    Result addGrade(Grade grade);

    /**
     * 查询年级
     */
    @Cacheable("demo")
    Result getGrade();
}
